﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessObjects.Person;

namespace DataObjects.Interface.Person
{
    public interface IDistrictDao
    {
        List<District> GetDistricts();

        District GetDistrict(string districtCode);

        int GetTotalPage();

        List<District> GetDistrictsByPage(int currentPage);

        List<District> GetDistrictsByIsActive(bool isActive);

        void InsertDistrict(District district);

        void UpdateDistrict(District district);

        void DeleteDistrict(District district);
    }
}
